-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gar/test mocks #4645
Gar/test mocks #4645
Conversation
aba3f33
to
31fa0e1
Compare
no statistically significant performance changes detected timing results
|
fc03cfb
to
b573bc1
Compare
Ok I'm done with this round of test cleanups. |
Looks like there's the possibility of a flaky test with a snapshot here: https://github.com/npm/cli/runs/5796752839?check_suite_focus=true#step:5:42 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of clear improvements here 👍
* Removed dedupe --save documentation and attempted implementation. * Remove some unneeded otplease mocks from test `npm dedupe --save` didn't work in a easy to understand way. It would only update a top level dependency that was duplicated in the tree. Found this out rewriting the dedupe tests to be real. This is not very intuitive and it's best if folks use update or install for saving to package.json.
b573bc1
to
55db9dd
Compare
flaky test fixed, thanks @lukekarrys |
Removing more mocks from tests.